/* SPDX-License-Identifier: BSD-3-Clause
 *
 * Copyright(c) 2022 Intel Corporation. All rights reserved.
 */

/* Created 13-Sep-2022 11:32:32 with script ref_matrix.m v1.9-rc1-1767-gf95e12db0 */

#define MEL_FILTERBANK_32_TEST4_FFT_SIZE  1024
#define MEL_FILTERBANK_32_TEST4_NUM_MEL_BINS  23
#define MEL_FILTERBANK_32_TEST4_NORM_SLANEY  1
#define MEL_FILTERBANK_32_TEST4_MEL_LOG  MEL_DB
#define MEL_FILTERBANK_32_TEST4_SHIFT  3

static const int32_t mel_filterbank_32_test4_real[513] = {
	-1675725814,  1426306934,  2025475456, -1210015671,   885096674, -1979921115,
	  499483754,   727413574, -1987704281, -2133161814, -1535603906,  1556519594,
	 -961911973,   136114115,    95439766,   290415874,  -717119722,  -371873076,
	 -367871884,  2078428237, -1899495252,  -444344922,  1251212373,   404523482,
	 -817920289,  1725730342, -1747506272,  -777272531,  1661987480,   676163889,
	  792494009,  -111889804, -1540844607,  1936707619,  1643366687,  -268699399,
	 1438628505,  -751003376,  -568484878,  1266325864, -1720955960,  1940387015,
	-2141153197,  -878768136, -1939372930,  -245928179,  1244880673,  1776057520,
	  142826389,  1305998385,   269124182,  1077506157, -2107839578,   -99708302,
	-1072326518,  -824984798,  2005531132, -1250675748,    87944836, -1178770398,
	  288612670,  2139596053, -1581126339,  1952821062, -1615433787, -1347596645,
	  629224351, -1597001652, -1798214748,   683874991, -2029806479,  2083831377,
	  168925132,  -541874907,   887919575,  1921617221,  -505614937,   828535935,
	  438392949,  1182222872,   394424910,  -531803677,  1506026845, -1177958386,
	 1275426119,  2134087672,  -939262874,   903579407,   707132294,  -365778600,
	   -7430713,  1928968706,  1946400477,  1000398006,  -495295609, -1975329639,
	  356197039,   277938680,  -621985922,  1632950092,   534852849,   532642716,
	 -877283958, -1826735804,  -886026007, -1139283847,  -661865709,  1496754695,
	-1458723872, -1469461315,    37191280,   443674417, -1454288947,   581771895,
	 1477213525,  1212337034, -1011179808,  -795861897, -1360664660,  -225600577,
	 -744409673,  -945681834,  1854411866,  -430817806,  -517873598,   398772464,
	-1853249672, -1265994601,   960433191,   322756539, -1287491593,  1475236850,
	 -327577151,   192203921,   120118999, -1352451611, -1796628998,  -154216715,
	-2016251886,  -279240917,   248528116,   596064707, -2000520977,   901515557,
	-1420242827,   401074668,   464135294,  1169775519, -1905790309,  1523532905,
	 -496995037,  -431133280,  -749826191,   237898713,  -878663966,  -575010213,
	 -648332492,   559308060,   706273359,  2113537672,  1908517089,  -642751039,
	-1318563787,  1802065792,  -907560733,   218439578,  1800983527, -1760728190,
	-1040686458,  -313326636,   333818989,  1715931325, -1210211760,  2005886670,
	 -283547822,  1223302993,   108378537,  -724660399,  -293803050,   935880250,
	 1787617264,  1675157450, -1568925533, -1632462285,  1689865281,   657497395,
	-1974490626,    20254909,  1694164734,  -490792508,  -893130384, -1142304234,
	-1284417025,  -514081544,   407120561,  -994774663,   525887143,  1308106635,
	-1700930493,   984579624,   638190326,  -108857564,  1859343355, -1733261199,
	  425660973, -1144330860, -2008634493,   342992926,  1469729873,   244370703,
	 1459786326, -1267220335,   520785773, -1400069628,  -903919595, -2068014146,
	  865420406,  1941717657,  1069486950,  1102635742,   180771203,  -936032834,
	-1095754189,  -917756266,  1989147146, -1156654683,   160294250, -1266979909,
	 -283290483, -1536687877,  -534363618,  1260833291,  1343532990,  1734268738,
	  173412458,  1365212531,   895142676, -1961903042, -1520650435, -1145314608,
	-1087910573, -1416124836, -1137922229,  -964387335,  1939635690,  -658543113,
	 -870495649,  -410486310,  -849383789,  1105142689,  -602395388, -1611044073,
	  503295261,  -620539221,  -588676006, -1853328698,  1576948232,  -180834453,
	-1814128107,  1739123294,  -937609053,   489101610,   695174568, -1288384550,
	 1975625804,   709124803,   177381460,  1584709237,   245017005, -2055579435,
	  -74386463,  1322787990,  1013652509,   310545013, -2108893997,   937507453,
	 -217211135,   685548802,  1087521565,  1308844098, -2022261376,  1201806013,
	  289268189, -1820565225, -1066776142, -1574300812,   276913386,   176013269,
	-1851468284,  2097794602, -1069036943,  -792537467,  -856171886, -1966927354,
	  119835174, -1047876097,  -392087597,  1922052165,  1800798054, -1626746019,
	  394900058,  -602789326,   941916103,   101151168, -1027169982,   -29724154,
	 1528303556,   963817649, -1292311413, -1471945961,  -556303407,  1555946414,
	  793549445,   576375503, -1540504734, -1806883099,  1615531966,  -341756126,
	  -52984404,  -170400704,    67333274,  -979276637, -1152855817,  1715985794,
	 1755341652,   445142661,  -578804898,   423442976,   723646783,  1694639867,
	-1772380429,   167548175,  -307305185,   503170427,   252869966, -1177462328,
	-1698575685, -2104629942, -1893422142,  -761702269,  1200342457,  -706614091,
	  513543280,  2116928037,   635679619,   170835847, -1149957079,  1030071572,
	 1670709401,  1545361986,   416872913,   664655395,  1782471531,  -286976483,
	 -902970678,   566430168,  -878656509,   524109664, -1943325839,  2124333324,
	-1259438389,   461124680,  -654422768,   935173586, -2027253361, -1860400470,
	 1834226518, -1770506807,  -719842695,   112446090, -1088163791,   184251763,
	 1206318233,    93984113,  1855210840, -1515642504,  -357488589,  -943634953,
	  421337654, -1990825331, -1873952200,  -760713848, -1724951077, -1417147539,
	 -553347271, -1976708779,   898683052,   607056520, -1399897946, -1880543087,
	 -400894737,  -158643525, -1277004160,  1587204692,   420650682, -2048641259,
	 1715523485,  -202094894, -1898263118, -1691060151,  2140720327,  1573364218,
	  494805129, -2031757968,  -762259476,  -155579891, -1722207871,   304891758,
	 -747860776,  -212633795,   334336554, -1826029795, -1901198758,  -854885602,
	   93292053,   265773586, -1110013810,  1772619601,  1399018036,  -238173615,
	 2070442944,   336156617, -1140642398,  1333975793,  -209275870, -1073874240,
	 1956089304, -1534805073,    53959327,  2026903032,   637032218,   492508209,
	 -130350660,   334065553,  1766576859,  -531629834, -1164946431,  -328458177,
	 -972396827,  -238087888,   547672956,   148783051,  -492022176,  1603955962,
	 -857495654,  -429369102,    76121915, -1881948522, -1153769002, -1638590189,
	-1723226624,  1676220318, -2004078653,  1456144202,    31210345, -1659075253,
	  -41035591,   427098936, -1760008307,  2053956587,   657210624,  -166936245,
	 1562329188, -1018641379,  1391410245,  -734545472,  1895371349, -1099047466,
	 1963273210,    46492869,   277368384,  2120494639,  1163867160,  -799714660,
	-1898922617, -1958188154,  1344084115,  -377642397,  -497515402,    99327700,
	 1684266988,  -404067772,   448346895, -1740305473,  -704455048, -1525392689,
	-1095729781,  -519812769,  -986469755, -1221491708,   574370748,  1287268572,
	-1251922722,  1701907386,  1055314141,   156275851,  2018485139,   278671094,
	-1212512651,  1536581617,  1554775231,  -801860967,  -743097153,  1460346450,
	  -32071439, -1924564176,  1194079802,  -314939705,  -945056523,  -715077644,
	 -571488554,  1266123761, -1981307989,
};

static const int32_t mel_filterbank_32_test4_imag[513] = {
	  973537383,  1600667564,  -919918504,   673662439, -1151538177,   523788191,
	-1824829524,  2004701220,   472317367,  -499439500, -2016187471,  1535732502,
	  444714595,  1493963164,    19826629, -2113506859,  1799905592,  -383519982,
	  998003287, -1498491417,  1353916614,  1759229479,  1193753781,  1104335462,
	 -407173536,   867158536,   281152584,   363939860,  -666086724,   877175084,
	-1456579407, -2140981354,   266291632,   199647796,   218303575,   835529025,
	 1836073145,  1907868749,  1732002811,   447133095,  1830556967, -1645203293,
	 -683752317, -1989727594,   164797253,  1018889943, -1369138926,  -316768177,
	-1725855483,  -845156936,  1203117457,   158743781,  1155653005,   596758414,
	 1688558858, -1886820419, -1392550607,  -359351929,  1029898115,  1687727983,
	-2036444542, -1556654940,  -326041994,  1136305676,   104956922,  1092989114,
	-1418204887,   741856842,   509609650, -2118079918,  1031760770,  2111987796,
	-1596948911,  -598792485, -1326830222,   920830942, -1383550652,  2090999459,
	-2074472941, -1976559113,  1307089682,  1545296100,   284552441,  1091405654,
	   83815283,   368956900, -1328291538,    14780973, -1928806966, -1906554266,
	 -707821778,   562231649,  1683531896,   744732840,   795715880,   840717485,
	 1287766200,   689793941,    85627025,  -722686613,  1864757602, -1088873216,
	   48130998,  1032157463, -1055838111,  1484275236,   163871995,  1761521283,
	 -641211086,  1869706134,  1837041089,   376670180, -1710418609,  -571763485,
	 -962736097, -1004603582, -1174507557, -2141810941,  1687953808,  -199726686,
	  336815654,  -791968180,  2121786322,  2078304110,  1995218000,   714103764,
	  971341971,  -712781801,    97808287,  -973435587,   937930785,  1194076312,
	-1799315476, -1195804192, -1271484291,   533002460,   967248606,  1436083251,
	-2066328601, -1279395030,  -132744718,  -522288718,  -685503694, -1873244897,
	 1122429290,  -418063158,   748568631,   219368285, -1926476800,  -826798653,
	 1999070052,  1853171658,  -523871220,   505389626,   268578870,  1419747437,
	 1965801113, -1823189336,  1666552094,   268209075, -1312734740, -1196351154,
	  883745568,   415587203,   370638812,  2012167045,   351085338, -1718844661,
	-1431929977, -1708994138, -1519357116,   736865063,   600664842,  -547885563,
	-1447949585,  -474513105,  1288389542,  -430382782,  1095728126,  -879564584,
	  601320807,  1654065583, -1247072433,   -84368242, -1662205775, -1578960373,
	-1872596046, -1806903928,   545263982,  -380817715,   595238169,  1531400494,
	 1132046146,  2045092900,  1209193260,  1870815614,  1027150737, -1058195041,
	  941672802,   831130355,  1173895955,  1061789298,  -780036211,    44800620,
	 1172811586,   312740303,  1949272346, -1410586212,  1749061415,  1083274172,
	 -918370387,   547223255,  -159652854, -1591546323,   212105511,  2016527188,
	 -248504704,   390687104, -1670870066, -1289124592, -1447558155, -1989096304,
	 -976140135, -1159067406,  -607545936, -1570486149,  2141447489,    58071629,
	 -481696453, -1074374224,  -580883905,  -433544559,  1830947821,   -19443615,
	  468954615, -2126831454,   376792174,  1191692031,   675096634,   121610683,
	 1399185074,  1986137916,  -799995827,  1275970606,  -922662922, -2083510645,
	-1743113532,  -735629024,  -835086288, -2070079176, -1450808132,  -240563423,
	 1145768552,   778488314,   921428231,  -172739814,  1800744098,  2099995997,
	 1858007643,  -165255965,  1739127476,  -487686434,   442452723,   259068170,
	 1485370440,  -924255682,   701447606,   439195524,   672003239,  -816326882,
	 -723084343, -1339182275, -1715051707,  -916700837,  -623516630,   153595324,
	 2108111588, -2026459703,   899933155,  1740136140,  1571225228, -1635655303,
	 1955392100,  -253829170,  1613877845,  1567455371,  -622123542,   563269703,
	 1565727107, -2057324835, -1817543165,  -529507503, -1506701742, -2001038596,
	 1212253263,  -741976748,  1363550453, -1401795505,   756419902,  1613191781,
	 1104474344, -1161248714,  -605832542,  -587705741,  -998824232,  -698779315,
	-1773990505,  -208049710,  -194716518, -2022777083,   588848059, -1892110102,
	-1420791872,   793193454,   234364823, -2121559940,  -910167339,  -529949294,
	-1518300861, -1827364207,  -168608063,  -556651902,  1393963927,   161214415,
	 1363721192,  -170163054, -2087208874, -2126080945, -1433545048,  -575788303,
	  937206860, -1462764342,  -950169298,   622505893,  -913951220,  -764800992,
	-1479973596,  -482483137,  1699660869,  1665446016,  -456927278,   753585264,
	-1064231931,  1932682492,   535505857, -1258649007, -1676518317,   282821923,
	 -969230683, -1841831183, -1466949086, -1934795595,   776889782,  1210132000,
	 1320123466, -1009087134,  1700374963,   463796716, -2085632517,  -669891423,
	  144588937,   548736090,  -228761552,  1336188566, -1525452170,  2039376637,
	 1433488568,  -686760285,   499242986,  -842860838, -1764291959,    92452628,
	 1397116496,  1133556212,  1922596188,  -714909018,  -473570041, -1501465248,
	 -714234075,   230548813,   216010848, -1458480506, -1644588205,  -435722568,
	 1423279168, -1352909521,     3374803, -1604967088,  1566067281,  1145234511,
	  276396331,  -474295936,   -42358414,  1661740438,  1739669123,    -6919384,
	  125528795,  1759651190,   337577759,  1184488001,   693184660,  -130321166,
	-1203588908,   440619572, -1356097283, -1299185879,  1554744431, -1607824219,
	  625262437,  -269216237,   483635082,  1019979205,  -844908341, -1962938725,
	 1440993872,  -561317095,   692947045,  1699604106,  -970237124,  2138457676,
	 1436036838,  1251311610,   672646460,   187574189,  -486699983,  1383976278,
	  409458619,  1209640262,  2094546270,  1238040646,  1515783666,   -61792428,
	 1605270108,  -713621344, -1265654797,   -24236209, -2013442187,  1406921398,
	-1012506595,   762353828,  1262137712,   781013452,   647505994, -1128108686,
	  -97051318,  1874406471, -1111951953, -1249346375,  -977225200,  1184626800,
	 -724082460,   442702472, -1357145826, -1771850747,  -820702187, -1155868452,
	 1757445006,  1876403978, -2010565070,   402210988, -1959288825,  -322539832,
	   92690887,  1461746685,   536998383, -1051387892,  1738135623,  1148047346,
	  269146280,  1705761438,  -566594622,  -696940018,   510479867, -1774270575,
	 -534734030, -1342688092,  1333701978,   958843697,   750219316,  1778036648,
	 1378516557,   209270720, -2080733009, -1740808839,    63386379,  1943398133,
	 1473436618,  1868363370,  2033293718,  -547494986,  -769225676,  1216540471,
	-1235998325,  1972043708,  1847836103,  -576687460,  -666096214,   827561293,
	  930306514,  1289965495,   402311637, -1730120149,   255589923, -1962413677,
	 1106519816,   685680916,   427174531, -1172548621,   917896191,   964230522,
	 -669078725, -2006819922,  1475818831,
};

static const int16_t mel_filterbank_32_test4_mel_log[23] = {
	 -4014,  -4091,  -4150,  -4106,  -3929,  -4047,  -4001,  -3949,  -4000,  -4132,
	 -4143,  -4095,  -4126,  -4095,  -4077,  -4088,  -4077,  -4086,  -4031,  -4096,
	 -4071,  -4074,  -4101,
};
